package model

import "time"

type CommentTable struct {
	Id          int64     `json:"id,omitempty"`
	UserId      uint64    `json:"user_id"`
	VideoId     uint64    `json:"video_id"`
	CommentText string    `json:"comment_text"`
	CreateDate  time.Time `json:"create_date,omitempty"`
	Cancel      uint64    `json:"cancel"`
}

func (comm CommentTable) TableName() string {
	return "comments"
}
